package zuoye.test6;

public class Test {
    public static void main(String[] args) {


        bread(new Yuangong("1","张三",18));
        bread(new Jingli("2","王五",18,"1000"));





    }

    public static void bread(Nolick a ){
        a.jiad();
    }


}
